let pathName=location.pathname;
console.log(pathName);
$("footer a[href='."+pathName+"']").find('span').addClass('active');
